package com.authine.cloudpivot.ext.dto;

import com.authine.mvp.app.launcher.domain.AttachmentFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName OrderCustomerGoodsDto
 * @Description: 客户订单商品表
 * @Author cjj
 * @Date 2021/4/9
 * @Version V1.0
 **/
@Data
@Schema(description = "OrderCustomerGoodsDto")
@ApiModel("客户订单商品表")
public class OrderCustomerGoodsDto extends PageObject{
    @Schema(description = "客户订单商品ID")
    private String id;
    @Schema(description = "客户订单商品ID集合")
    private List<String> ids;
    @Schema(description = "客户订单集合")
    private List<String> orderCustomerIds;
    @Schema(description = "状态")
//    private OrderGoodsStatusEnum orderCustomerGoodsStatus;
    private String orderCustomerGoodsStatus;
    @Schema(description = "客户订单id")
    private String orderCustomerId;
    @Schema(description = "供应商订单id")
    private String orderVendorId;
    @Schema(description = "下单人")
    private String placeOrderFullname;
    @Schema(description = "供应商组织名称")
    private String vendorOrganizationName;
    @Schema(description = "客户组织名称")
    private String customerOrganizationName;
    @Schema(description = "品牌")
    private String brand;
    @Schema(description = "名称")
    private String name;
    @Schema(description = "型号")
    private String model;
    @Schema(description = "规格")
    private String spec;
    @Schema(description = "下单日期-开始日期", pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;
    @Schema(description = "下单日期-结束日期", pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
    @Schema(description = "税金编码")
    private String goldenTax;
    @Schema(description = "收货单附件,多附件")
    private List<AttachmentFormat> attachment;
    @Schema(description = "实际交付日期（上传收货单时间）" , pattern = "yyyy-MM-dd HH:mm:ss")
    private String actualDeliverTime;
    @Schema(description = "数量")
    private BigDecimal quantity;
    @Schema(description = "pageIndex")
    private Integer pageIndex;
    @Schema(description = "pageSize")
    private Integer pageSize;
    @Schema(description = "订单类型")
    private String orderType;
    @Schema(description = "交货（天）")
    private String delivery;
    @Schema(description = "更新时间开始")
    private String modifiedTimeStart;
    @Schema(description = "更新时间结束")
    private String modifiedTimeEnd;
    @Schema(description = "客户供应商订单商品状态")
    private String order_customer_goods_status;
}
